<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>LCV Framework: pflags.h Quellcode</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Erzeugt von Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Hauptseite</span></a></li>
    <li><a href="classes.html"><span>Datenstrukturen</span></a></li>
    <li class="current"><a href="files.html"><span>Dateien</span></a></li>
  </ul>
</div>
<h1>pflags.h</h1><a href="pflags_8h.html">gehe zur Dokumentation dieser Datei</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> *</span>
<a name="l00003"></a>00003 <span class="comment"> *    File:         pflags.h</span>
<a name="l00004"></a>00004 <span class="comment"> *    Rev:          0.1</span>
<a name="l00005"></a>00005 <span class="comment"> *    Created:      Fri Jan 14 12:40:55 CEST 2005</span>
<a name="l00006"></a>00006 <span class="comment"> *    Author:       Michael Hennerich</span>
<a name="l00007"></a>00007 <span class="comment"> *    mail:         hennerich@blackfin.org</span>
<a name="l00008"></a>00008 <span class="comment"> *    Description:  pfbits driver for bf53x</span>
<a name="l00009"></a>00009 <span class="comment"> *                  </span>
<a name="l00010"></a>00010 <span class="comment"> *   Copyright (C) 2005 Michael Hennerich/Analog Devices Inc.</span>
<a name="l00011"></a>00011 <span class="comment"> *</span>
<a name="l00012"></a>00012 <span class="comment"> *   This program is free software; you can redistribute it and/or modify</span>
<a name="l00013"></a>00013 <span class="comment"> *   it under the terms of the GNU General Public License as published by</span>
<a name="l00014"></a>00014 <span class="comment"> *   the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00015"></a>00015 <span class="comment"> *   (at your option) any later version.</span>
<a name="l00016"></a>00016 <span class="comment"> *</span>
<a name="l00017"></a>00017 <span class="comment"> *   This program is distributed in the hope that it will be useful,</span>
<a name="l00018"></a>00018 <span class="comment"> *   but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00019"></a>00019 <span class="comment"> *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00020"></a>00020 <span class="comment"> *   GNU General Public License for more details.</span>
<a name="l00021"></a>00021 <span class="comment"> *</span>
<a name="l00022"></a>00022 <span class="comment"> *   You should have received a copy of the GNU General Public License</span>
<a name="l00023"></a>00023 <span class="comment"> *   along with this program; if not, write to the Free Software</span>
<a name="l00024"></a>00024 <span class="comment"> *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00025"></a>00025 <span class="comment"> *</span>
<a name="l00026"></a>00026 <span class="comment"> *</span>
<a name="l00027"></a>00027 <span class="comment"> ****************************************************************************</span>
<a name="l00028"></a>00028 <span class="comment"> * MODIFICATION HISTORY:</span>
<a name="l00029"></a>00029 <span class="comment"> * Jan 10, 2005   pflags.c Changed Michael Hennerich, Analog Devices Inc. </span>
<a name="l00030"></a>00030 <span class="comment"> **************************************************************************** </span>
<a name="l00031"></a>00031 <span class="comment"> */</span>
<a name="l00032"></a>00032 
<a name="l00033"></a><a class="code" href="pflags_8h.html#5a30a4a2d411115d8e88cb93b70ad289">00033</a> <span class="preprocessor">#define SET_FIO_DIR                             1  // Peripheral Flag Direction Register</span>
<a name="l00034"></a><a class="code" href="pflags_8h.html#2b8cebc0506a9228ee4092ef29f68f65">00034</a> <span class="preprocessor"></span><span class="preprocessor">#define SET_FIO_POLAR                           2  // Flag Source Polarity Register</span>
<a name="l00035"></a><a class="code" href="pflags_8h.html#cb7c412ed62c04ce99d0cf1c3236166a">00035</a> <span class="preprocessor"></span><span class="preprocessor">#define SET_FIO_EDGE                            3  // Flag Source Sensitivity Register</span>
<a name="l00036"></a><a class="code" href="pflags_8h.html#98a77d47c38662e34c59534730d35a29">00036</a> <span class="preprocessor"></span><span class="preprocessor">#define SET_FIO_BOTH                            4  // Flag Set on BOTH Edges Register</span>
<a name="l00037"></a><a class="code" href="pflags_8h.html#8ea54eadc63e0c0d1b4dc257dd3286fc">00037</a> <span class="preprocessor"></span><span class="preprocessor">#define SET_FIO_INEN                                    5  // Flag Input Enable Register </span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 
<a name="l00040"></a><a class="code" href="pflags_8h.html#1bb283bd7893b9855e2f23013891fc82">00040</a> <span class="preprocessor">#define INPUT                                                   0</span>
<a name="l00041"></a><a class="code" href="pflags_8h.html#61a3c9a18380aafb6e430e79bf596557">00041</a> <span class="preprocessor"></span><span class="preprocessor">#define OUTPUT                                                  1</span>
<a name="l00042"></a><a class="code" href="pflags_8h.html#9d49ed03836f3fb5cb4a07152de2e7d3">00042</a> <span class="preprocessor"></span><span class="preprocessor">#define ACTIVEHIGH_RISINGEDGE                   0</span>
<a name="l00043"></a><a class="code" href="pflags_8h.html#5e685c79deba5eaca6d52dcc2790a59c">00043</a> <span class="preprocessor"></span><span class="preprocessor">#define ACTIVELOW_FALLINGEDGE                   1</span>
<a name="l00044"></a><a class="code" href="pflags_8h.html#73f717b7aae31163c2a85f67883bf0ed">00044</a> <span class="preprocessor"></span><span class="preprocessor">#define LEVEL                                                   0</span>
<a name="l00045"></a><a class="code" href="pflags_8h.html#c243bfa96aa2c28014159ff098bd2324">00045</a> <span class="preprocessor"></span><span class="preprocessor">#define EDGE                                                    1</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span>
<a name="l00047"></a><a class="code" href="pflags_8h.html#3470e7854af89fe7ac1a33236d5938f6">00047</a> <span class="preprocessor">#define SINGLEEDGE                                              0</span>
<a name="l00048"></a><a class="code" href="pflags_8h.html#7ce0618f9cc60e31379cfb304c7fa2af">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define BOTHEDGES                                               1</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span>
<a name="l00050"></a><a class="code" href="pflags_8h.html#40984b9ac260aa5f3467e55a91cfff30">00050</a> <span class="preprocessor">#define INPUT_DISABLE                                   0</span>
<a name="l00051"></a><a class="code" href="pflags_8h.html#6ad4c7f924e24241629dc10ed6b433f9">00051</a> <span class="preprocessor"></span><span class="preprocessor">#define INPUT_ENABLE                                    1</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span>
<a name="l00053"></a>00053 
<a name="l00054"></a>00054 
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 
</pre></div><hr size="1"><address style="text-align: right;"><small>Erzeugt am Thu Dec 13 13:57:32 2007 für LCV Framework von&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>
